﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ControlCenter.Model
{
    /// <summary>
    /// 心跳日志【实体类】
    /// </summary>
    public class HeartLog
    {
        /// <summary>
        /// 日志ID
        /// </summary>
        public Guid HeartLogId { get; set; }
        /// <summary>
        /// 类型，1=机器人，2=应用
        /// </summary>
        public HeartTypeEnum HeartType { get; set; }
        /// <summary>
        /// 心跳时间
        /// </summary>
        public DateTime Time { get; set; }
        /// <summary>
        /// 对象ID，和HeartType对应，为机器人或应用的ID
        /// </summary>
        public Guid ObjectId { get; set; }
    }
}
